package com.yellowpage.client.data;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * NapUserPayAccount entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="NSP_USER_PAY_ACCOUNT")

public class NspUserPayAccount  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String mobileNo;
     private String discountSource;
     private String dicountDesc;
     private Timestamp effectTime;
     private String effectState;
     private String paySource;
     private String pay;
     private Timestamp createTime;
     private String payState;
     private String submitter;
     private Timestamp submitTime;
     private String updateUser;
     private Timestamp updateTime;
     private String description;


    // Constructors

    /** default constructor */
    public NspUserPayAccount() {
    }

    
    /** full constructor */
    public NspUserPayAccount(String mobileNo, String discountSource, String dicountDesc, Timestamp effectTime, String effectState, String paySource, String pay, Timestamp createTime, String payState, String submitter, Timestamp submitTime, String updateUser, Timestamp updateTime, String description) {
        this.mobileNo = mobileNo;
        this.discountSource = discountSource;
        this.dicountDesc = dicountDesc;
        this.effectTime = effectTime;
        this.effectState = effectState;
        this.paySource = paySource;
        this.pay = pay;
        this.createTime = createTime;
        this.payState = payState;
        this.submitter = submitter;
        this.submitTime = submitTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
        this.description = description;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="assigned")
    @Id 
    @GeneratedValue(generator="generator")
    
    @Column(name="ID", unique=true, nullable=false, precision = 11, scale = 0)

    public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}
    
    @Column(name="MOBILENO", length=65535)

    public String getMobileNo() {
        return this.mobileNo;
    }
    
    


	public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }
    
    @Column(name="DISCOUNTSOURCE", length=65535)

    public String getDiscountSource() {
        return this.discountSource;
    }
    
    public void setDiscountSource(String discountSource) {
        this.discountSource = discountSource;
    }
    
    @Column(name="DICOUNTDESC", length=65535)

    public String getDicountDesc() {
        return this.dicountDesc;
    }
    
    public void setDicountDesc(String dicountDesc) {
        this.dicountDesc = dicountDesc;
    }
    
    @Column(name="EFFECTTIME", length=0)

    public Timestamp getEffectTime() {
        return this.effectTime;
    }
    
    public void setEffectTime(Timestamp effectTime) {
        this.effectTime = effectTime;
    }
    
    @Column(name="EFFECTSTATE", length=2)

    public String getEffectState() {
        return this.effectState;
    }
    
    public void setEffectState(String effectState) {
        this.effectState = effectState;
    }
    
    @Column(name="PAYSOURCE", length=65535)

    public String getPaySource() {
        return this.paySource;
    }
    
    public void setPaySource(String paySource) {
        this.paySource = paySource;
    }
    
    @Column(name="PAY", length=65535)

    public String getPay() {
        return this.pay;
    }
    
    public void setPay(String pay) {
        this.pay = pay;
    }
    
    @Column(name="CREATETIME", length=0)

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    
    @Column(name="PAYSTATE", length=2)

    public String getPayState() {
        return this.payState;
    }
    
    public void setPayState(String payState) {
        this.payState = payState;
    }
    
    @Column(name="SUBMITTER", length=65535)

    public String getSubmitter() {
        return this.submitter;
    }
    
    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }
    
    @Column(name="SUBMITTIME", length=0)

    public Timestamp getSubmitTime() {
        return this.submitTime;
    }
    
    public void setSubmitTime(Timestamp submitTime) {
        this.submitTime = submitTime;
    }
    
    @Column(name="UPDATEUSER", length=65535)

    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    @Column(name="UPDATETIME", length=0)

    public Timestamp getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }



    
    @Column(name="DESCRIPTION", length=65535)

	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}
   








}